package org.gd.hellojaxb.acquiring;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.Collection;

/**
 * @author Gorhover
 */
@XmlRootElement(name = "magazines")
@XmlAccessorType(XmlAccessType.NONE)
public class MagazineList extends ArrayList<Magazine> implements Model {

    public MagazineList(int initialCapacity) {
        super(initialCapacity);
    }

    public MagazineList() {
    }

    public MagazineList(Collection<? extends Magazine> c) {
        super(c);
    }

    /** need for JAXB */
    @XmlElement(name = "magazine")
    @SuppressWarnings("unused")
    private MagazineList getThis() {
        return this;
    }
}
